package operation;
import book.BookList;
import book.Book;

public class PrintBook implements IOperation{
    public void work(BookList bookList) {
        for(int i = 0; i < bookList.getNum(); i++) {
            System.out.println(bookList.getBook(i));
        }
    }
}
